home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Sample Code / Snippets / Development Tools & Languages / MouseInfo 1.0.1 / UMouseDocument.h < prev    next >
Encoding:
Text File  |  1992-07-15  |  1.0 KB  |  49 lines  |  [TEXT/MPS ]

  1. //     UMouseDocument.h
  2. //     Copyright © 1992 by Apple Computer, Inc. All rights reserved.
  3. //    Kent Sandvik DTS
  4. //    This file contains the TMouseDocument class, the basic TDocument
  5. //    class used in the MouseInfo application.
  6. //    Version Info (latest first):
  7. //
  8. //    <1>        khs        1.0        First final version
  9. //    <2>        khs        1.0.1    Fixed a memory leak in TMapApplication::GetSleepValue()
  10.  
  11.  
  12. #ifndef __MOUSEDOCUMENT__
  13. #define __MOUSEDOCUMENT__
  14.  
  15. //    INCLUDE FILES
  16.  
  17. #ifndef __MOUSEINFO__
  18. #include "UMouseInfo.h"
  19. #endif
  20.  
  21. #ifndef __MENUEDWINDOW__
  22. #include "UMenuedWindow.h"
  23. #endif
  24.  
  25. #ifndef __MOUSETRACKBEHAVIOR__
  26. #include "UMouseTrackBehavior.h"
  27. #endif
  28.  
  29.  
  30. //    CLASSES
  31. //    TMouseDocument, our main document class which coordinates it all
  32. //    It does not really do much decent work, though, but hey this is a sample
  33. class TMouseDocument : public TDocument
  34. {
  35. public:
  36.     TMouseDocument();
  37.     virtual pascal void IMouseDocument();
  38.     virtual pascal void Free();
  39.  
  40.     virtual pascal void DoMakeViews(Boolean        /*forPrinting*/);
  41.  
  42.     TView* fMainView;
  43. };
  44.  
  45.  
  46.  
  47. #endif __MOUSEDOCUMENT__
  48.  
  49.